package main

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

func main() {
	engine := gin.Default()
	engine.GET("/hello", hello)
	engine.GET("/world", world)
	engine.Run(":8888")
}

func world(ctx *gin.Context) {
	ctx.String(http.StatusOK, "balabalabala")
}

func hello(context *gin.Context) {
	context.String(http.StatusOK, "Hello World")
}